Switch to the new language file parser (since Joomla 4.4.1/5.0.1) #245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Joomla 4.4.1/5.0.1 changed the algorithm for parsing language files (from "normal" ini parser mode to "raw" mode), as a result backward compatibility was broken, because now it is no longer possible to use the
\
character (and in some cases$
) in language files, because in previous versions they had to be escaped, but now they are not, and there is no way to use\
in a way that simultaneously supports old and new versions of Joomla.Since the patch joomla/joomla-cms#42463 that restores the old behavior (while completely eliminating the vulnerability that the 4.4.1/5.0.1 patch was trying to fix) is rejected, the language string validation in JEDChecker is changed accordingly to detect language strings that are not supported by the new format.